{extend name="homePage/userPage" /}
{block name="css"}
{/block}
{block name="main"}
    <div style="border:1px solid #ccc">
            <form class="form-horizontal" method="post" action="{:url('index/User/editpenname')}" enctype="multipart/form-data" >
                <input type="hidden" name="id" value="{$user.id}">
    
                <div class="form-group">
                    <label for="exampleInputAccount4" class="col-sm-2">原签名</label>
                    {if condition="$user.picurl neq ''"}
                    <div class="col-md-6 col-sm-10">
                    <img src="__STATIC__/../uploads/{$user['picurl']}" alt="" width="200">
                    </div>
                    {else /}
                    <div class="col-md-6 col-sm-10">
                      <input type="text" class="form-control name" id="exampleInputAccount4"  value="暂无数据" disabled>
                    </div>
                    {/if}
                </div>
                <div class="form-group">
                    <label for="exampleInputAccount4" class="col-sm-2">更新签名</label>
                    
                    <input type="file" name="picurl" >
                </div>
                <div class="form-group">
                    <div class="col-md-6 col-sm-offset-2 col-sm-10">
                      <input type="submit" class="btn btn-info" id="exampleInputAccount4">
                      <input type="reset" class="btn btn-warning" id="exampleInputAccount4">
                    </div>
                </div>
                </form>

    </div>

{/block}
{block name="block"}
{/block}

